package com.yt.app.core.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * AppTopic Info
 */
@ApiModel(value = "Topic", description = "话题对象")
public class AppTopic implements Serializable {
    @ApiModelProperty(value = "id", required = true)
    private Long id;
    @ApiModelProperty(value = "分类Id", required = true)
    private Long categoryId;
    @ApiModelProperty(value = "标题", required = true)
    private String title;
    @ApiModelProperty(value = "图片地址", required = true)
    private String image;
    @ApiModelProperty(value = "话题内容", required = true)
    private String content;
    @ApiModelProperty(value = "链接地址", required = true)
    private String link;
    @ApiModelProperty(value = "收藏数", required = true)
    private Integer favNum;
    @ApiModelProperty(value = "浏览数", required = true)
    private Integer viewNum;
    @ApiModelProperty(value = "发布时间", required = true)
    private Long dateline;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getFavNum() {
        return favNum;
    }

    public void setFavNum(Integer favNum) {
        this.favNum = favNum;
    }

    public Long getDateline() {
        return dateline;
    }

    public void setDateline(Long dateline) {
        this.dateline = dateline;
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }
}
